if (${CMAKE_SIZEOF_VOID_P} MATCHES "8")
    add_executable(${TEST_NAME} test.c)
    target_link_libraries(${TEST_NAME} ${TARGET_NAME} pthread)
else()
    add_executable(${TEST_NAME} test.c)
    target_link_libraries(${TEST_NAME} ${TARGET_NAME} pthread)
endif ()